import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/store'
import '@/utils/vant-ui'
import '@/styles/common.less'
Vue.config.productionTip = false
// 开发环境才引入 Mock（生产环境注释掉）
if (process.env.NODE_ENV === 'development') {
  // 使用动态导入的正确语法
  require('./mock/index.js')
  console.log('Mock数据已加载');
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
